package com.ylkj.bus;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Map;

/**
 * @Author: wengzx
 * @Date: 2025/4/23
 * @Desc:
 */
@Data
@ToString
@NoArgsConstructor
public class MessageContent {
    private String body;
    private String topic;

    public MessageContent(String body, String topic) {
        this.body = body;
        this.topic = topic;
    }
}
